<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="icon" href="img/favicon.ico" />
    <link id="css" href="css/main.css" rel="stylesheet" />
    <title><?php echo $title.' - '.SITE_NAME; ?>
    </title>
    <?php
    $fontsize = getColor("fontsize", "13px");
    if($_SERVER['PHP_SELF'] != '\error.php') {
      setcookie('login_page', substr($_SERVER['PHP_SELF'], 1), $_SERVER['REQUEST_TIME'] + 3600 * 24);
    }
    ?>
    <style type="text/css">
      a:active, a:focus {outline:none}
      body {font-size:<?php echo $fontsize ?> !important;}
    </style>
    <script src="js/jquery.js"></script>
    <?php if( (!strpos($_SERVER["HTTP_USER_AGENT"],"Firefox")) ){ //如果是FF系列的话就关闭需要html5的功能
    ?>
    <script src="js/eroesedb.js"></script>
    <?php }?>
    <script src="js/mediaPreview.js"></script>
    <script src="js/public.js"></script>
    <?php
    if(loginStatus()) {
      include ('inc/getClolors.php');
    }
    include ('SetTwtterBG.php');
    if($_GET["id"] <> NULL) {
      SetTwitterBG($_GET["id"]);
    } else {
      if(getEncryptCookie('twitese_name') <> NULL) {
        SetTwitterBG(getEncryptCookie('twitese_name'));
      } else {
        echo '<style type="text/css">';
        echo "body{ background: #C0DEED url('img/bg-clouds.png') fixed repeat-x;}";
        echo '</style>';
      }
    }
    ?>
  </head>
  <body>
    <div id="shortcutTip" style="display:none">
    </div>
    <div id="header">
      <div class="wrapper">
        <a href="index.php">
        <img id="logo" style="float:left" src="img/logo.png" />
        </a>
        <ul id="nav" class="round">
          <li>
            <a href="index.php">主页</a>
          </li>
          <li>
            <a href="profile.php">自己</a>
          </li>
          <li>
            <a href="browse.php">随便看看</a>
          </li>
          <li>
            <a href="setting.php">设置</a>
          </li>
          <li>
            <a href="logout.php">登出</a>
          </li>
        </ul>
      </div>
    </div>
    <div id="content">
      <div class="wrapper">
        <div class="content-bubble-arrow">
        </div>
        <table cellspacing="0" class="columns">
          <tbody>
            <tr>
              <td id="left" class="column round-left">
